 <!-- <script setup lang="ts">
  
import { RouterLink, RouterView } from "vue-router";
import HelloWorld from "./components/HelloWorld.vue";
</script>

<template>
  <header>
    <div class="wrapper">
      <nav>
        <RouterLink to="/user">用户登录</RouterLink>
        <RouterLink to="/adduser">用户添加</RouterLink>
        <RouterLink to="/getuser">用户列表</RouterLink>
        <RouterLink to="/addRole">角色添加</RouterLink>
        <RouterLink to="/RoleList">角色显示</RouterLink>
        <RouterLink to="/AddMenu">菜单添加</RouterLink>
        <RouterLink to="/GetMenu">菜单显示</RouterLink>
        <RouterLink to="/RoleMenu">角色菜单显示</RouterLink>
        <RouterLink to="/AddLeave">创建审批</RouterLink>
        <RouterLink to="/GetLeave">获取审批信息</RouterLink>
        <RouterLink to="/UpdateLeave">修改审批信息</RouterLink>
        <RouterLink to="/Approval">审批页面</RouterLink>
      </nav>
    </div>
  </header>



<style scoped>
.logo {
  display: block;
  margin: 0 auto 2rem;
}

nav {
  width: 100%;
  font-size: 12px;
  text-align: center;
  margin-top: 2rem;
}

nav a.router-link-exact-active {
  color: var(--color-text);
}

nav a.router-link-exact-active:hover {
  background-color: transparent;
}

nav a {
  display: inline-block;
  padding: 0 1rem;
  border-left: 1px solid var(--color-border);
}

nav a:first-of-type {
  border: 0;
}

@media (min-width: 1024px) {
  .logo {
    margin: 0 2rem 0 0;
  }

  nav {
    text-align: center;
    margin-left: -1rem;
    font-size: 1rem;

    padding: 1rem 0;
    margin-top: 1rem;
  }
}
</style> -->
<template>
  <RouterView />
</template>
